import axios from '@/libs/api.request'

/**
 * 获取数据
 * @returns {wx.RequestTask | never}
 */
export const get = () => {
  return axios.request({
    url: 'Distribution/get',
    method: 'get'
  })
}
/**
 * 保存数据
 * @param data
 */
export const save = (data) => {
  return axios.request({
    url: 'Distribution/save',
    method: 'post',
    data
  })
}


